[INFO] cloning repository https://github.com/alex-karo/rust-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alex-karo/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-karo%2Frust-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-karo%2Frust-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 709e5574836ec13f469365d8c66dea2336c80732
[INFO] checking alex-karo/rust-test against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-karo%2Frust-test" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alex-karo/rust-test on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/alex-karo/rust-test
[INFO] finished tweaking git repo https://github.com/alex-karo/rust-test
[INFO] tweaked toml for git repo https://github.com/alex-karo/rust-test written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/alex-karo/rust-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1862dce02e73926ede38a5f97dfa9dc2305aa8ec0a549e8bc47583b51def200d
[INFO] running `Command { std: "docker" "start" "-a" "1862dce02e73926ede38a5f97dfa9dc2305aa8ec0a549e8bc47583b51def200d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1862dce02e73926ede38a5f97dfa9dc2305aa8ec0a549e8bc47583b51def200d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1862dce02e73926ede38a5f97dfa9dc2305aa8ec0a549e8bc47583b51def200d", kill_on_drop: false }`
[INFO] [stdout] 1862dce02e73926ede38a5f97dfa9dc2305aa8ec0a549e8bc47583b51def200d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4155f5791c6d960f2f5dcf304ab4fb40b8193392f6af6c2721fd3ef65895473
[INFO] running `Command { std: "docker" "start" "-a" "b4155f5791c6d960f2f5dcf304ab4fb40b8193392f6af6c2721fd3ef65895473", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:70:27
[INFO] [stdout]    |
[INFO] [stdout] 70 |               Some(node) => {
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |             },
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 self.curr = &self.head;
[INFO] [stdout]    |                 ---------   ^^^^^^^^^^ expected enum `Option`, found reference
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 expected due to the type of this binding
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<Box<Node<T>>>`
[INFO] [stdout]            found reference `&Option<Box<Node<T>>>`
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 self.curr = &self.head;
[INFO] [stdout] 74 +                 self.curr = self.head;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |               None => {
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 74 | |                 self.curr = &self.head;
[INFO] [stdout] 75 | |             }
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:70:27
[INFO] [stdout]    |
[INFO] [stdout] 70 |               Some(node) => {
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |             },
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 self.curr = &self.head;
[INFO] [stdout]    |                 ---------   ^^^^^^^^^^ expected enum `Option`, found reference
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 expected due to the type of this binding
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<Box<Node<T>>>`
[INFO] [stdout]            found reference `&Option<Box<Node<T>>>`
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 self.curr = &self.head;
[INFO] [stdout] 74 +                 self.curr = self.head;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |               None => {
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 74 | |                 self.curr = &self.head;
[INFO] [stdout] 75 | |             }
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-test` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-test` due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "b4155f5791c6d960f2f5dcf304ab4fb40b8193392f6af6c2721fd3ef65895473", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4155f5791c6d960f2f5dcf304ab4fb40b8193392f6af6c2721fd3ef65895473", kill_on_drop: false }`
[INFO] [stdout] b4155f5791c6d960f2f5dcf304ab4fb40b8193392f6af6c2721fd3ef65895473
